package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Dish;

import java.util.List;

public interface DishService {

    Page findPage(Integer pageNum, Integer pageSize, String name);



    Dish queryDishById(Long id);

    void saveDish(Dish dish);

    void editDish(Dish dish);

    void delete(Long[] ids);

    void statusChange(Integer status, Long[] ids);

    List<Dish> findDishList(String name,Long categoryId ,Integer status);
}
